package classfile

// Exceptions是边长属性，记录方法抛出的异常表
type ExceptionsAttribute struct {
	exceptionIndexTable []uint16
}

func (self *ExceptionsAttribute)ReadInfo(reader *ClassReader) {
	self.exceptionIndexTable = reader.ReadUint16s()
}

func (self *ExceptionsAttribute)ExceptionIndexTable() []uint16 {
	return self.exceptionIndexTable
}